package com.xiaoalei.myapplication

fun main() {
    gradeStudent(9)
}


private fun gradeStudent(score:Int){
    when(score){
        10-> println("满分")
        9-> println("干得不错")
        8-> println("还可以")
        7-> println("还需努力")
        6-> println("刚好及格")
        else -> println("还要继续加油")
    }

}